package com.jianglin.state2.model.core;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author violetfreesia
 * @since 2020-12-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ApiModel("分页参数")
public class PageParams {

    @NonNull
    @ApiModelProperty(value = "当前分页", required = true)
    private Integer currentPage;

    @ApiModelProperty("分页尺寸(默认为10)")
    private Integer pageSize;

    @ApiModelProperty(value = "员工编号")
    private Integer employeeId;
}
